<?php
$host="http://".$_SERVER['HTTP_HOST'];

$title=get_the_title();
if($title=='惠州-鹏爱品牌'){$aType=1;
}else if($title=='惠州-经典项目'){$aType=2;
}else if($title=='惠州-塑美宣言'){$aType=3;
}else if($title=='惠州-来院路线'){$aType=4;
}
?>
<div class="pai_nav">
    <ul>
        <li><a href="<?php echo $host;?>">首页</a></li>
        <li <?php if($aType==1){?>class="active"<?php }?>><a href="<?php echo $host."/hz_about";?>">鹏爱品牌</a></a></li>
        <li <?php if($aType==2){?>class="active"<?php }?>><a href="<?php echo $host."/hz_project";?>">经典项目</a></li>
        <li <?php if($aType==3){?>class="active"<?php }?>><a href="<?php echo $host."/hz_declaration";?>">塑美宣言</a></li>
        <li <?php if($aType==4){?>class="active"<?php }?>><a href="<?php echo $host."/hz_address";?>">来院路线</a></li>
        <li><a href="#">在线客服</a></li>
    </ul>
</div>